#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include<QPdfWriter>
#include<QPainter>
#include<QFile>
#include<QFileDialog>
#include<QDesktopServices>

#include<QPixmap>

namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = 0);
    ~Widget();
    QPixmap pix;

private slots:
    void on_pushButton_clicked();

private:
    Ui::Widget *ui;
};

#endif // WIDGET_H
